package com.axjy.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.axjy.mapper.BingrenMapper;
import com.axjy.pojo.Bingren;
import com.axjy.service.BingrenService;

@Service("bingrenService")
public class BingrenServiceImpl implements BingrenService{

	@Resource
	private BingrenMapper bingrenMapper;
	@Override
	public int addBingren(Bingren bingren) {
		return bingrenMapper.addBingren(bingren);
	}
	
	@Override
	public int searBingren(String brName, String brCard) {
		return bingrenMapper.searBingren(brName, brCard);
	}
	

}
